home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2002 November / SGI IRIX 6.5 Applications 2002 November.iso / dist / cosmocreate.idb / usr / share / CosmoCreate / protos / button.jbm.z / button.jbm
Encoding:
Text File  |  1998-05-07  |  5.2 KB  |  338 lines

  1. #Inventor V2.1 ascii
  2.  
  3. DEF BM_Root Separator {
  4.     DEF BackgroundColor Info {
  5.       string      "0.75 0.75 0.75"
  6.     }
  7.  
  8.     Group {
  9.     Switch {
  10.     whichChild    -3
  11.     DirectionalLight {
  12.         intensity    1
  13.         color    1 1 1
  14.         direction    -0.1 0 -1
  15.     }
  16.     Scale {
  17.         scaleFactor    0.207221 0.207221 0.207221
  18.     }
  19.     Translation {
  20.         translation    -44.2391 -25.9854 -263.112
  21.     }
  22.     }
  23.     Switch {
  24.     whichChild    -3
  25.     Translation {
  26.         translation    44.2391 25.9854 263.112
  27.     }
  28.     Scale {
  29.         scaleFactor    4.82576 4.82576 4.82576
  30.     }
  31.     DirectionalLight {
  32.         intensity    1
  33.         color    0.530304 0.624309 0.524595
  34.         direction    -0.180931 -0.934019 -0.308015
  35.     }
  36.     Scale {
  37.         scaleFactor    0.207221 0.207221 0.207221
  38.     }
  39.     Translation {
  40.         translation    -44.2391 -25.9854 -263.112
  41.     }
  42.     }
  43.     Switch {
  44.     whichChild    -3
  45.     Translation {
  46.         translation    57.6228 -16.4019 257.022
  47.     }
  48.     Scale {
  49.         scaleFactor    4.82576 4.82576 4.82576
  50.     }
  51.     DirectionalLight {
  52.         intensity    1
  53.         color    0.0783223 0.163388 1
  54.         direction    -0.367255 0.742528 -0.560156
  55.     }
  56.     Scale {
  57.         scaleFactor    0.207221 0.207221 0.207221
  58.     }
  59.     Translation {
  60.         translation    -57.6228 16.4019 -257.022
  61.     }
  62.     }
  63.     Switch {
  64.     whichChild    -3
  65.     Translation {
  66.     }
  67.     Scale {
  68.         scaleFactor    4.82576 4.82576 4.82576
  69.     }
  70.     PointLight {
  71.         intensity    1
  72.         color    0.063708 0.0468627 0.138122
  73.         location    12.3298 4.43943 58.0781
  74.     }
  75.     Scale {
  76.         scaleFactor    0.207221 0.207221 0.207221
  77.     }
  78.     Translation {
  79.     }
  80.     }
  81.     }
  82.     Material {
  83.     diffuseColor    1 1 1
  84.     }
  85.     DEF theObject Separator {
  86.     Material {
  87.         ambientColor    0.2 0.2 0.2 ~
  88.         diffuseColor    0 0 0
  89.         specularColor    0 0 0 ~
  90.         emissiveColor    0 0 0 ~
  91.         shininess    0.2 ~
  92.         transparency    0 ~
  93.     }
  94.     DEF useThis CoTextGraph {
  95.         textType    1
  96.         string    "Sample Text"
  97.         fontName  "Palatino-Roman;HonMinchoLtBT--H;HonMinchoLtBT--Hankaku"
  98.         fontStyle FontStyle { 
  99.         size 24
  100.         justify "MIDDLE"
  101.         spacing 1
  102.         }
  103.     }
  104.     }
  105.     Separator {
  106.     Material {
  107.         ambientColor    0.489362 0.489362 0.489362
  108.         diffuseColor    0.308511 0.302901 0.302901
  109.         specularColor    0.631238 0.61354 0.648936
  110.         shininess    0.223404
  111.     }
  112.     DEF Aluminum CoMultiButton {
  113.         leftMargin    0.7
  114.         rightMargin    0.7
  115.         topMargin    0.2
  116.         bottomMargin    0.2
  117.         geometry            Separator {
  118.         Transform {
  119.             translation    -6.75733 6.144 -18.6617
  120.             scaleFactor    18.5673 18.6617 18.6617
  121.         }
  122.         Complexity {
  123.             value    1
  124.         }
  125.         Switch {
  126.             whichChild    6
  127.             DEF O1 Separator {
  128.             Sphere {
  129.             }
  130.             }
  131.             DEF O15 Separator {
  132.             Separator {
  133.                 Transform {
  134.                 translation    1.5 0 0
  135.                 }
  136.                 Sphere {
  137.                 }
  138.             }
  139.             Separator {
  140.                 Transform {
  141.                 translation    0.75 0 0
  142.                 rotation    0 0 1  1.5708
  143.                 }
  144.                 Cylinder {
  145.                 height    1.5
  146.                 }
  147.             }
  148.             Separator {
  149.                 Sphere {
  150.                 }
  151.             }
  152.             }
  153.             DEF O2 Separator {
  154.             Separator {
  155.                 Transform {
  156.                 translation    2 0 0
  157.                 }
  158.                 Sphere {
  159.                 }
  160.             }
  161.             Separator {
  162.                 Transform {
  163.                 translation    1 0 0
  164.                 rotation    0 0 1  1.5708
  165.                 }
  166.                 Cylinder {
  167.                 }
  168.             }
  169.             Separator {
  170.                 Sphere {
  171.                 }
  172.             }
  173.             }
  174.             DEF O3 Separator {
  175.             Separator {
  176.                 Transform {
  177.                 translation    3 0 0
  178.                 }
  179.                 Sphere {
  180.                 }
  181.             }
  182.             Separator {
  183.                 Transform {
  184.                 translation    1.5 0 0
  185.                 rotation    0 0 1  1.5708
  186.                 }
  187.                 Cylinder {
  188.                 height    3
  189.                 }
  190.             }
  191.             Separator {
  192.                 Sphere {
  193.                 }
  194.             }
  195.             }
  196.             DEF O4 Separator {
  197.             Separator {
  198.                 Transform {
  199.                 translation    4 0 0
  200.                 }
  201.                 Sphere {
  202.                 }
  203.             }
  204.             Separator {
  205.                 Transform {
  206.                 translation    2 0 0
  207.                 rotation    0 0 1  1.5708
  208.                 }
  209.                 Cylinder {
  210.                 height    4
  211.                 }
  212.             }
  213.             Separator {
  214.                 Transform {
  215.                 }
  216.                 Sphere {
  217.                 }
  218.             }
  219.             }
  220.             Separator {
  221.             Separator {
  222.                 Transform {
  223.                 translation    5 0 0
  224.                 }
  225.                 Sphere {
  226.                 }
  227.             }
  228.             Separator {
  229.                 Transform {
  230.                 translation    2.5 0 0
  231.                 rotation    0 0 1  1.5708
  232.                 }
  233.                 Cylinder {
  234.                 height    5
  235.                 }
  236.             }
  237.             Separator {
  238.                 Sphere {
  239.                 }
  240.             }
  241.             }
  242.             Separator {
  243.             Separator {
  244.                 Transform {
  245.                 translation    8 0 0
  246.                 }
  247.                 Sphere {
  248.                 }
  249.             }
  250.             Separator {
  251.                 Transform {
  252.                 translation    4 0 0
  253.                 rotation    0 0 1  1.5708
  254.                 }
  255.                 Cylinder {
  256.                 height    8
  257.                 }
  258.             }
  259.             Separator {
  260.                 Sphere {
  261.                 }
  262.             }
  263.             }
  264.             Separator {
  265.             Separator {
  266.                 Transform {
  267.                 translation    10 0 0
  268.                 }
  269.                 Sphere {
  270.                 }
  271.             }
  272.             Separator {
  273.                 Transform {
  274.                 translation    5 0 0
  275.                 rotation    0 0 1  1.5708
  276.                 }
  277.                 Cylinder {
  278.                 height    10
  279.                 }
  280.             }
  281.             Separator {
  282.                 Sphere {
  283.                 }
  284.             }
  285.             }
  286.             Separator {
  287.             Separator {
  288.                 Transform {
  289.                 translation    14 0 0
  290.                 }
  291.                 Sphere {
  292.                 }
  293.             }
  294.             Separator {
  295.                 Transform {
  296.                 translation    7 0 0
  297.                 rotation    0 0 1  1.5708
  298.                 }
  299.                 Cylinder {
  300.                 height    14
  301.                 }
  302.             }
  303.             Separator {
  304.                 Sphere {
  305.                 }
  306.             }
  307.             }
  308.             Separator {
  309.             Separator {
  310.                 Transform {
  311.                 translation    20 0 0
  312.                 }
  313.                 Sphere {
  314.                 }
  315.             }
  316.             Separator {
  317.                 Transform {
  318.                 translation    10 0 0
  319.                 rotation    0 0 1  1.5708
  320.                 }
  321.                 Cylinder {
  322.                 height    20
  323.                 }
  324.             }
  325.             Separator {
  326.                 Sphere {
  327.                 }
  328.             }
  329.             }
  330.         }
  331.         }
  332.  
  333.         attachTo            USE useThis
  334.  
  335.     }
  336.     }
  337. }
  338.